import taos
from taosrest import connect
from dbutils.persistent_db import PersistentDB
from baler import settings

def getTdconnc():

    taos.conn
    pool = taos.ConnectionPool(host="101.132.111.19",
                                             user="sfin",
                                             password="qwerty123!@#",
                                             database="sfin",
                                             port=6030)  # default your host's timezone

    return pool


    server_version = conn.server_info
    print("server_version", server_version)
    client_version = conn.client_info
    print("client_version", client_version)  # 2.4.0.16
    conn.close()